package com.joker.search.feign;

import com.joker.common.core.domain.Result;
import com.joker.search.common.domain.SkuEsModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("joker-search")
public interface SearchFeignService {

    @PostMapping("/es/save/productStatusUp")
    public Result productStatusUp(@RequestBody List<SkuEsModel> skuEsModelList);

}
